package cn.chengpengper.seckill.reservation.application.event;

import cn.chengpengper.seckill.reservation.domain.event.SeckillReservationConfigEvent;
import com.alibaba.cola.dto.Response;
import com.alibaba.cola.event.EventHandler;
import com.alibaba.cola.event.EventHandlerI;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;

/**
 * @author chengpeng.hu
 */
@EventHandler
@ConditionalOnProperty(name = "message.mq.type", havingValue = "cola")
public class SeckillReservationConfigColaEventHandler implements EventHandlerI<Response, SeckillReservationConfigEvent> {
    @Override
    public Response execute(SeckillReservationConfigEvent seckillReservationConfigEvent) {
        return null;
    }
}
